package com.haircut.project.vo.record;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Setter
@Getter
@ApiModel("ApiRecordResVo")
public class RecordResVo extends ApiRecordResVo {



    /**
     * 技师总刷卡金额
     */
    @ApiModelProperty("技师总刷卡金额")
    private BigDecimal companyCardAmount;
    /**
     * 总转账金额
     */
    @ApiModelProperty("总转账金额")
    private BigDecimal companyCashAmount;


    /**
     * '创建人id'
     */
    @ApiModelProperty("创建人编号")
    private String createUserId;

    @ApiModelProperty("创建人")
    private String createUserName;
    /**
     * '修改时间'
     */
    @ApiModelProperty("修改时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "America/Los_Angeles")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    /**
     * 分成变量
     */
    @ApiModelProperty("分成比例")
    private BigDecimal technicianRate;
    /**
     * 刷卡备注
     */
    private String cardRemark;

    private List<RecordProjectVo> projectList;


}
